#pragma once

#include "stdafx.h"
#include <cv.h>
#include <cxcore.h>
#include <highgui.h>
#include <stdio.h>
#include <math.h>
#include <fstream>

#include "ImageStitcher.h";

using namespace cv;
using namespace std;

class ResourceLibrary
{
public:

	//-- Image Variables
	vector<IplImage> originals;
	vector<IplImage> segmentedImages;
	vector<IplImage> warpedImages;
	vector<IplImage> patches;

	//-- Image Information Variables
	vector<Mat> homographies;
	vector<vector<Point2f>> warpedCorners;

	ResourceLibrary();							//Constructor
	~ResourceLibrary(void);

	void ResourceLibrary::addOriginals(Mat im);
	void ResourceLibrary::addSegmentedImages(Mat im);
	void ResourceLibrary::addWarpedImages(Mat im);
	void ResourceLibrary::addPatches(Mat p);
	void ResourceLibrary::addHomographies(Mat h);
	void ResourceLibrary::addWarpedCorners(vector<Point2f> c);

};
